package com.qcq.springcloud.mapper;

import com.qcq.springcloud.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author ：qcq
 * @date ：Created in 2020/11/26 20:03
 * @description：
 */
public interface UserMapper {
    @Select("select * from tb_user where username = #{username}")
    User queryByUsername(@Param("username") String username);
}
